﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Devonline.Entity;
using Devonline.Identity;

namespace ProjectManagement.Models
{
    public class UserModel : User
    {
        /// <summary>
        /// 附加信息
        /// </summary>
        [NotMapped]
        public virtual ICollection<Additional> Additionals { get; set; }
        /// <summary>
        /// 通用附件集合, NotMapped 用于记录实体对象上上传的附件
        /// </summary>
        [NotMapped]
        public virtual ICollection<Attachment> Attachments { get; set; }
    }
}
